
#ifndef CHAPTER_4_1_H_
#define CHAPTER_4_1_H_

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <iostream>
#include "chapter_4.h"


class Chapter_4_1: public Chapter_4{
    public:
        virtual void commit();

    private:
        void std_file_descriptors();
        void by_number();
        void by_posix_name();
        void by_stdio_stream();

        void read_by_number();
        void read_by_posix_name();
        void read_by_stdio_stream();

        void critical_test();
};

#endif

